#include <memory>
#include <signal.h>
#include "eventloop.hpp"
#include "calculator.hpp"
#include "epoll_conn.hpp"
#include "../common/mysocket.hpp"

int main()
{
    std::unique_ptr<Catcher> catcher(new Catcher(EventLoop, true));
    catcher->Listen("0.0.0.0", 8080);
    catcher->Loop();
    return 0;
}